const LeaveStudentList = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/leaveStudent/LeaveStudentList'
    ], resolve);
const leaveLogQuery = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/leaveStudent/leaveLogQuery'
    ], resolve);
const LeaveStudentDetail = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/leaveStudent/leaveStudentDetail'
    ], resolve);
const ArrearsStudentList = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/paymentStudent/ArrearsStudentList'
    ], resolve);
const AbnormalTypeList = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/abnormalType/AbnormalTypeList'
    ], resolve)
const AbnormalTypeSetting = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/abnormalType/AbnormalTpeSetting'
    ], resolve)
const AddStatusCategoryExt = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/addStatusCategoryExt/AddStatusCategoryExt'
    ], resolve);
const ApplyAbnormalList = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/applyAbnormal/ApplyAbnormalList'
    ], resolve);
const DoApplyAbnormal = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/applyAbnormal/DoApplyAbnormal'
    ], resolve);
// 缴费结果查询
// const PaymentResult = resolve =>
//     require([
//         'common/src/views/administrator/studentStatusManage/paymentStudent/PaymentResult'
//     ], resolve);
const PaymentResult = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/paymentStudent'
    ], resolve);
const paymentListMaintain = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/paymentStudent/paymentListMaintain'
    ], resolve);
const chargingSet = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/paymentStudent/chargingSet'
    ], resolve);
// 批量异动申请
const batchAbnormalApply = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/batchAbnormalApply'
    ], resolve);
// 教务员代申请
const applicationByAcademic = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/applicationByAcademic'
    ], resolve);
const moveToApply = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/moveToApply'
    ], resolve);
// 异动日志查询
const abnormalLogQuery = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/abnormalLogQuery'
    ], resolve);
// 异动审核
const abnormalAudit = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/abnormalAudit'
    ], resolve);
// 异动管理
const abnormalManage = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/abnormalManage'
    ], resolve);
// 异动到期名单
const changeDueList = resolve =>
    require([
        'common/src/views/administrator/studentStatusManage/changeDueList'
    ], resolve);    

const layout = resolve => require(['common/src/views/layout'], resolve);
const studentStatusMgr = {
    path: '/studentStatusMgr',
    name: 'studentStatusMgr',
    component: layout,
    children: [
        {
            path: '/leaveStudentList',
            name: 'leaveStudentList',
            component: LeaveStudentList,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/leaveStudentDetail/:studentId',
            name: 'leaveStudentDetail',
            component: LeaveStudentDetail,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/arrearsStudentList',
            name: 'arrearsStudentList',
            component: ArrearsStudentList
        },
        {
            path: '/abnormalTypeList',
            name: 'abnormalTypeList',
            component: AbnormalTypeList,
            meta: {
                nokeepalive: true
            }
        }, {
            path: '/abnormalTypeSetting/:id',
            name: 'abnormalTypeSetting',
            component: AbnormalTypeSetting,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/addStatusCategoryExt/:typeId?',
            name: 'addStatusCategoryExt',
            component: AddStatusCategoryExt,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/applyAbnormalList',
            name: 'applyAbnormalList',
            component: ApplyAbnormalList
        },
        {
            path: '/doApplyAbnormal/:studentId?/:abnormalId?/:flagCheck?',
            name: 'doApplyAbnormal',
            component: DoApplyAbnormal
        },
        {
            path: '/paymentResult',
            name: 'paymentResult',
            component: PaymentResult
        },
        {
            path: '/applicationByAcademic',
            name: 'applicationByAcademic',
            component: applicationByAcademic,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/moveToApply',
            name: 'moveToApply',
            component: moveToApply,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/abnormalAudit',
            name: 'abnormalAudit',
            component: abnormalAudit,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/abnormalView',
            name: 'abnormalView',
            component: abnormalAudit,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/leaveLogQuery',
            name: 'leaveLogQuery',
            component: leaveLogQuery,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/batchAbnormalApply',
            name: 'batchAbnormalApply',
            component: batchAbnormalApply,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/paymentListMaintain',
            name: 'paymentListMaintain',
            component: paymentListMaintain,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/chargingSet',
            name: 'chargingSet',
            component: chargingSet,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/abnormalManage',
            name: 'abnormalManage',
            component: abnormalManage,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/changeDueList',
            name: 'changeDueList',
            component: changeDueList,
            meta: {
                nokeepalive: true
            }
        },
        {
            path: '/abnormalLogQuery',
            name: 'abnormalLogQuery',
            component: abnormalLogQuery,
            meta: {
                nokeepalive: true
            }
        }
    ]
};

export default studentStatusMgr;
